math function erf

The erf() function returns the error function of its argument. The error function is defined as

$\displaystyle {\frac{{2}}{{\sqrt\pi}}}$$\displaystyle \int_{0}^{x}$e-t2dt